package com.geekjam.dingdongandroid;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

/**
 * Created with IntelliJ IDEA.
 * User: shou1dwe
 * Date: 10/3/13
 * Time: 11:09 AM
 * To change this template use File | Settings | File Templates.
 */
public class ScheduledAlarmReceiver extends BroadcastReceiver {
    @Override
    public void onReceive(Context context, Intent intent) {
        Intent scheduledIntent = new Intent(context, ScheduledAlarmActivity.class);
        scheduledIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        context.startActivity(scheduledIntent);
    }
}
